#include <iostream>
using namespace std;
using std::cout;
using std::endl;
namespace wd{
void show();
void display();

}

namespace wh{
void print(){
    cout<<"wh:print"<<endl;
}
void show(){
    cout<<"wh:show"<<endl;
    wd::display();
}
}

namespace wd{
void display(){
    cout<<"wd::display"<<endl;
    wh::print();
}
void show(){
    cout<<"wd:display"<<endl;
    wh::show();
}
}
int main(int argc, char * argv[]){
    wh::show();
    return 0;
}

